EDA / pages /Introduction to statistics.py
Pavani31's picture
Create Introduction to statistics.py
53df032 verified
import streamlit as st
st.title(":green[Introduction To Statistics]")
st.header("Statistics")
st.write("Statistics is a field which deals with data here we will collect, Interpreting, Analysing, Structuring the data andwe will observe the data values after performing techniques")
st.header("Types of statistics")
st.write("There are **2** types of statistics,based on type of data we collected we choose the types of statistics")
st.graphviz_chart('''
digraph{
Statistics-> Descriptive Statistics
Statistics-> Inferential Statistics}
''')
st.subheader("Types of Data")
st.graphviz_chart('''
digraph{
Data->Population
Data->Sample
''')
st.header(":blue[Population]:")
st.write("if you have every observation related to your problem statement,then your data is called as population")
st.header(":blue[Sample]:")
st.write("if u don't have every observation , and you are unable to collect then your data is called as sample data")
st.subheader("Descriptive Statistics:")
st.write("descriptive statistics will describe your data,either it comes from population or sample")
st.write("+ Descriptive statistics will give measures to our types of data")
st.write("+ The measure of population data is known as :blue[parameters]")
st.write("+ The measure of sample of data is known as :blue[statistics]")
st.header("Measures of descriptive Statistics")
st.graphviz_chart('''
digraph {
Measures_of_descriptive_Statistics ->Central_Tendency
Measures_of_descriptive_Statistics->variability
Measures_of_descriptive_Statistics->Distribution
}
''')
st.subheader("1.Measure of central tendensy:")
st.write("it will give measures to find central value,average value of data")
st.graphviz_chart('''
digraph{
Measure_of_central_tendensy ->Median
Measures_of_central_tendensy ->Mean
Mean->Arithmetic_mean
Mean->Geometric_mean
Mean->Harmonic_mean
Measures_of_central_tendency->Mode
}
''')
st.subheader("2.Measures of variability or dispersion:")
st.write("It will give measure to know the spread of data around central value")
st.write("it will give two types of measures :Absolute,Relative")
st.graphviz_chart('''
digraph{
Measures_of_variability->Absolute
Measures_of_variability->Relative
}
''')
st.write(":blue[Absolute]:")
st.write("when our observations are in same unit,we can use absolute measures")
st.write("Absolute will give **4** types of measures")
st.graphviz_chart('''
digraph{
Absolute ->Range
Absolute ->Quartile_Deviation
Absolute ->Variance
Absolute ->Standard_Deviation}
''')
st.write(":blue[Relative]:")
st.write("when our observations are in different units,we can use absolute measures")
st.write("Relative will give **4** types of measures")
st.graphviz_chart('''
diagraph{
Relative ->coefficient_of_range
Relative ->coefficient_of_Quartile_Deviation
Relative ->coefficient_of_Variance
Relative ->coefficient_of_Standard_of_Standard_Deviation
}
''')
st.subheader("3.Distribution:")
st.write("we will know the shape and nature of the data distribution")
st.header("Inferential Statistics:")
st.write("we will describe the population data with help of sample")